function RenderUtil() {"use strict";
}

//Renders image in context
RenderUtil.render = function(ctx, imgId, x, y, offsetTX, offsetTY) {"use strict";
	var img, offsetX, offsetY;
	img = document.getElementById(imgId);
	offsetX = CoordinatesUtil.getX(x, y, offsetTX, offsetTY);
	offsetY = CoordinatesUtil.getY(x, y, offsetTX, offsetTY);
	//
	// Ensures img exists
	if (img) {
		ctx.drawImage(img, offsetX, offsetY);
	} else {
		console.log("RenderUtil.render: Image does not exist. Id: " + imgId);
	}
};

